package seracher;

public class Weight {
    //权重，只跟id和weight有关
    //权重对象是用来表示这个词跟这个文章的相关性大不大。
    private Integer docId;
    private Integer weight;

    @Override
    public String toString() {
        return "seracher.Weight{" +
                "docId=" + docId +
                ", weight=" + weight +
                '}';
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
